﻿using UnityEngine;
using System.Collections;

public class ResettableObject : Actor
{
    public class TransformInitialInfo
    {
        public Vector3 m_InitialPosition;
        public Quaternion m_InitialRotation;

        public TransformInitialInfo()
        {
            m_InitialPosition = Vector3.zero;
            m_InitialRotation = Quaternion.identity;
        }
    }

    private TransformInitialInfo m_InitialInfo;
    public TransformInitialInfo InitialInfo
    {
        get { return m_InitialInfo; }
    }

    protected override void Awake()
    {
        base.Awake();
        m_InitialInfo = new TransformInitialInfo();
        m_InitialInfo.m_InitialPosition = aTransform.position;
        m_InitialInfo.m_InitialRotation = aTransform.rotation;
    }

	void Start () 
    {
        GameplayManager.Instance.RegisterResetObject(this);
	}
	
	void Update () {
	
	}
}
